package com.yunhe.inter;

import java.util.ArrayList;

import org.apache.ibatis.annotations.Param;

import com.yunhe.bean.CommodityInfo;
import com.yunhe.bean.OrderDetailedInfo;

public interface OrderDetailedInfoInter {
	//查找订单详细信息，用来展示生成订单的所有信息
	public ArrayList<OrderDetailedInfo> findOrderDetailedInfo(Integer userID);
	
	public ArrayList<OrderDetailedInfo> findOrderInfo(@Param("userID") Integer userID,@Param("beginPage") int beginPage,@Param("endPage")int endPage );
	
	
	public int findTotalNumber();
	
	//用于展示我的订单信息
	public ArrayList<OrderDetailedInfo> showMyOrderInfo(@Param("userID") Integer userID,@Param("beginPage") int beginPage,@Param("endPage")int endPage );
	
	//用于评价页面显示信息
	public  OrderDetailedInfo  showOrderInfo(@Param("userID")Integer userId,@Param("commodityID") Integer commodityID);
}
